/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2019-12-15 15:21:28
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 查询员工信息(员工权限编辑页面)
// export const searchRoleEmp = (params) => axios.get(`${SERVER.DMSCLOUD_BASEDATA}/basedata/employees/permission/items`, {params})
//新接口--李贺
export const factoryEmployeeSearch = (params) => axios.post(`${SERVER.DMSCLOUD_BASEDATA}/basedata/employees/factoryEmployeeSearch?&pageNum=${params.pageNum}&limit=${params.limit}`, params)
//查看
export const searchEmployee = (employeeNo,companyId) => axios.get(`${SERVER.DMSCLOUD_BASEDATA}/basedata/employees/emp?employeeNo=${employeeNo}&companyId=${companyId}`)

//导入确认
export const importConfirmSalesZone = params =>
  axios.post(`${SERVER.CMSCLOUD_CHANNEL}/personnelInfo/dealerStation/Zone`, params);

